package com.sam.spring.test;

public class Animal {
	
	private String name;
	private String type;
	
	public Animal(){
		
	}
	
	public Animal(String name, String type){
		this.name = name;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}


	public String toString(){
		return "Animal [name= " + name +", type= " + type+ "]";
	}

}
